package com.mindbook.vip.gawxchatinfo.service.impl.home;

import com.mindbook.vip.gawxchatinfo.entity.home.FirstPageInfoDetails;
import com.mindbook.vip.gawxchatinfo.mapper.home.FirstPageInfoDetailsMapper;
import com.mindbook.vip.gawxchatinfo.service.home.FirstPageInfoDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @NAME: wxb
 * @DATE: 2022/5/16
 * @DESCRIPTION:
 **/
@Service
public class FirstPageInfoDetailsServiceImpl implements FirstPageInfoDetailsService {

    @Autowired private FirstPageInfoDetailsMapper firstPageInfoDetailsMapper;

    @Override
    public Integer removeByPrimaryKey(Integer id) {
        return firstPageInfoDetailsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public Integer add(FirstPageInfoDetails firstPageInfoDetails) {
        return firstPageInfoDetailsMapper.insertSelective(firstPageInfoDetails);
    }

    @Override
    public Integer put(FirstPageInfoDetails firstPageInfoDetails) {

        return firstPageInfoDetailsMapper.updateByPrimaryKeySelective(firstPageInfoDetails);
    }

    @Override
    public Integer addSelective(FirstPageInfoDetails firstPageInfoDetails) {
        return null;
    }

    @Override
    public FirstPageInfoDetails findByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public Integer saveByPrimaryKeySelective(FirstPageInfoDetails firstPageInfoDetails) {
        return null;
    }

    @Override
    public Integer saveByPrimaryKey(FirstPageInfoDetails firstPageInfoDetails) {
        return null;
    }

    @Override
    public List<FirstPageInfoDetails> findAll() {
        return null;
    }

    @Override
    public List<FirstPageInfoDetails> findListByTitleId(Integer id) {
        return firstPageInfoDetailsMapper.findListByTitleId(id);
    }
}
